package com.tbit.main.pojo;

import java.util.Date;

/**
 * @author LMY
 * @create 2020-12-04 14:52
 * 换电信息推送到mq
 */
public class PowerChangeMQ {

    private Integer machineId;      //车辆id
    private String userCode;        //车辆编号
    private String machineNO;       //设备编号
    private Integer accountId;      //运营区域id
    private Double oldVol;          //换电前电压
    private Double newVol;          //换点后电压
    private Date changeTime;        //换电时间

    public Integer getMachineId() {
        return machineId;
    }

    public void setMachineId(Integer machineId) {
        this.machineId = machineId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getMachineNO() {
        return machineNO;
    }

    public void setMachineNO(String machineNO) {
        this.machineNO = machineNO;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public Double getOldVol() {
        return oldVol;
    }

    public void setOldVol(Double oldVol) {
        this.oldVol = oldVol;
    }

    public Double getNewVol() {
        return newVol;
    }

    public void setNewVol(Double newVol) {
        this.newVol = newVol;
    }

    public Date getChangeTime() {
        return changeTime;
    }

    public void setChangeTime(Date changeTime) {
        this.changeTime = changeTime;
    }

    @Override
    public String toString() {
        return "PowerChangeMQ{" +
                "machineId=" + machineId +
                ", userCode='" + userCode + '\'' +
                ", machineNO='" + machineNO + '\'' +
                ", accountId=" + accountId +
                ", oldVol=" + oldVol +
                ", newVol=" + newVol +
                ", changeTime=" + changeTime +
                '}';
    }
}
